home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / dcom / modems-part1 / 6535 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  3.7 KB

  1. Path: IC1SS02.SETTIMO.ITALTEL.IT!caloni
  2. Comments: Gated by NETNEWS@AUVM.AMERICAN.EDU
  3. Newsgroups: comp.dcom.modems
  4. Message-ID: <9602281302.AA14838@ic1ss02.settimo.italtel.it.settimo.italtel.it>
  5. Date: Wed, 28 Feb 1996 13:02:46 GMT
  6. Reply-To: Franco Caloni <caloni@IC1SS02.SETTIMO.ITALTEL.IT>
  7. Sender: MODEMS-L Mailing List <MODEMS-L@VM.ITS.RPI.EDU>
  8. From: Franco Caloni <caloni@IC1SS02.SETTIMO.ITALTEL.IT>
  9. Subject: data lost during transfer
  10.  
  11. Hi everyone,
  12.  
  13. A friend tell me about this mailing-list, I have some problems and
  14. I hope this is the right mailing-list where looking for help.
  15. I'm writing an application with FoxPro for Win 2.5 that transfer an
  16. ASCII file from a PC to another one by two modems on telephone line
  17. (not direct connect).
  18. I tell you first the problem and after PC configuration ecc..
  19.  
  20. The problem is that the receiving PC does not receive all data, I think
  21. there is a data lost during transfer. One PC send data, but the other
  22. when has received about 10k bytes it doesn't receive anymore data.
  23.  
  24. If I use my PCs (a Pentium 120 with 32Mb RAM for receive, and a 486DX4
  25. 120Mhz PCI 16Mb RAM for transmit with 2 internal modems 28800) there
  26. are no problem, I transfer 100k bytes, but when I use the same
  27. PC (486DX4) for send data and a 486SX 33Mhz 8Mb RAM (or 486DX) with
  28. an 14400 internal modem as receiver I have the problem.
  29.  
  30. My commucation software:
  31. ------------------------
  32. The two programs are written in FoxPro for Win 2.5 and use API
  33. (opencomm, writecomm, ecc.) for communicate with serial port, the
  34. sending one reads 1 char (byte) from ASCII file at a time then send
  35. it to the port, the receive one does the same thing reading (I've done
  36. a loop which continuosly read 1 byte from port then write it to an
  37. ASCII file when it is not null). It's a stupid code (pheraps too
  38. much stupid). (If someone know Fox I can send the code for an exam).
  39. Programs sets COMs to 19200,n,8,1 define a large receive buffer
  40. 32768 bytes (on receive PC) and a small one on the sender (512 byte)
  41.  
  42. Modems configuration:
  43. ---------------------
  44. Modems are 14400 internal and MSD tell me they are 16550 UART, have
  45. data compression and error correction.
  46. I use this init-string: ATX3L0M0 so I use default modem settings:
  47. CTS/RTS hardware flow control, data compression and error correction
  48. MNP5 LAPM V42 (I have tryed to use same two modems too)
  49.  
  50. What I tryed:
  51. -------------
  52. I've tryed (not together): disabling data compression, set both modem
  53. speed to 1200 baud and COMs to 9600 (and not 14400), setting sender
  54. COM speed to 1200 and receiver to 19200 (with modems set 1200),
  55. change buffer size and others I don't remember, but without success.
  56. The best thing I got is with 14400 connection without data
  57. compression: I tranferred about 30k but the problem still exists.
  58.  
  59. I don't hunderstand which is the problem. Keep in mind it's the first
  60. time I use modems as 'programmer' and not as 'end-user'.
  61. Perhaps I'm luky when I use Pentium as receiver, if the file to be
  62. transferred was bigger than 100k I get the same problem (I don't try
  63. this). Someone tells me the problem is I don't control data transfer
  64. with my software, they suggest to use Protocols like Z-Modem or other
  65. but I know they exist but not WHAT are, and how implement in my
  66. Fox programs (and that person is not modem expert too).
  67. Finally my Know-How in modem communication is two month read modems
  68. user's manual where is not so clear my question "how to do a complete
  69. ASCII transfer file using communication API?" (on slow PC
  70. like 486SX or 486DX 33Mhz) or what is the problem I got and
  71. it's solution.
  72.  
  73. Someone can help me? I'm in big trouble. Thank you very much.
  74. I know you need more information, I'll be happy to send what you need,
  75. mail me directly too. (I'm Italian so speak in easy English please)
  76.  
  77. Franco CALONI
  78.  
  79. caloni@ic1ss02.settimo.italtel.it
  80.